package org.lxy;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.mongo.MongoDataAutoConfiguration;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author 卢心怡
 */
@SpringBootApplication
@ComponentScan("org.lxy")
@RefreshScope
@MapperScan("org.lxy.mapper")
@EnableDiscoveryClient
public class RecyclingGoodsApplication {

    public static void main(String[] args) {
        SpringApplication.run(RecyclingGoodsApplication.class, args);
    }
}
